import request from '@/utils/request'
// 空进空出列表
export function airliftList(data) {
  return request({
    url: 'business/airlift/index',
    method: 'post',
    data: data
  })
}
// 空进空出新建
export function airliftCreate(data) {
  return request({
    url: 'business/airlift/create',
    method: 'post',
    data: data
  })
}

// 空进空出编辑
export function airliftEdit(data) {
  return request({
    url: 'business/airlift/update',
    method: 'post',
    data: data
  })
}

// 空进空出删除
export function airliftDel(data) {
  return request({
    url: 'business/airlift/delete',
    method: 'post',
    data: data
  })
}
// 空进空出打印
export function airliftPrint(data) {
  return request({
    url: 'business/airlift/print',
    method: 'post',
    data: data
  })
}

// 海进海出列表
export function shippingList(data) {
  return request({
    url: 'business/shipping/index',
    method: 'post',
    data: data
  })
}
// 海进海出新建
export function shippingCreate(data) {
  return request({
    url: 'business/shipping/create',
    method: 'post',
    data: data
  })
}

// 海进海出编辑
export function shippingEdit(data) {
  return request({
    url: 'business/shipping/update',
    method: 'post',
    data: data
  })
}

// 海进海出删除
export function shippingDel(data) {
  return request({
    url: 'business/shipping/delete',
    method: 'post',
    data: data
  })
}

// 海进海出打印
export function shippingPrint(data) {
  return request({
    url: 'business/shipping/print',
    method: 'post',
    data: data
  })
}

// 保税报关列表
export function bondedList(data) {
  return request({
    url: 'business/bonded/index',
    method: 'post',
    data: data
  })
}

// 保税报关新建
export function bondedCreate(data) {
  return request({
    url: 'business/bonded/create',
    method: 'post',
    data: data
  })
}

// 保税报关编辑
export function bondedEdit(data) {
  return request({
    url: 'business/bonded/update',
    method: 'post',
    data: data
  })
}

// 内贸列表
export function tradeList(data) {
  return request({
    url: 'business/trade/index',
    method: 'post',
    data: data
  })
}

// 内贸新建
export function tradeCreate(data) {
  return request({
    url: 'business/trade/create',
    method: 'post',
    data: data
  })
}

// 内贸编辑
export function tradeEdit(data) {
  return request({
    url: 'business/trade/update',
    method: 'post',
    data: data
  })
}

// 查询工作号
export function getJobNumber(data) {
  return request({
    url: 'business/airlift/getJobNumber',
    method: 'post',
    data: data
  })
}
